<html xmlns:th="http://www.thymeleaf.org"
	xmlns:tiles="http://www.thymeleaf.org">
<head>
<title tiles:fragment="title">Log In</title>
</head>
<body>
	<div tiles:fragment="content">
		<div class="container-fluid">
			<div class="row-fluid">
				<div class="span12">
					<form class="form-horizontal" name="f" th:action="@{/login}"
						method="post">

						<div class="control-group">
							<h2>Please Login</h2>
						</div>
						<div class="control-group">
							<div th:if="${param.error}" class="alert alert-error">Invalid
								username and password.</div>
							<div th:if="${param.logout}" class="alert alert-success">You
								have been logged out.</div>
						</div>
						<div class="input-group">
							<label class="control-label" for="username">Username</label> <input
								id="username" class="form-control" name="username" type="text" />
						</div>
						<div class="input-group">
							<label class="control-label" for="password">Password</label> <input
								id="password" class="form-control" name="password"
								type="password" />
						</div>
						<div class="control-group">
							<div class="controls">
								<button type="submit" class="btn">Log in</button>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
		<script src="resources/js/jquery/jquery.min.js"></script>
		<script src="resources/js/bootstrap/js/bootstrap.min.js"></script>
	</div>

</body>
</html>